<?php 
	require "../Security/validateSession.php";
	require "../lib/menu.php";
	require "../lib/utils.php";
	checkSession();
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>IRENK</title>
<!-- TemplateEndEditable -->
<link href='../css/irenk.css' rel='stylesheet' type='text/css' />
<script language="javascript" src="../js/utils.js" type="text/javascript"></script>
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>

<body topmargin="0">
<table width="940" align="center" border="0" cellpadding="0" cellspacing="0">
<tr><td style="background:url(../images/leftborder.jpg); background-repeat:repeat-y; background-position:right;" width="20"></td>
<td><table align="center" border="0" cellpadding="0" cellspacing="0">
	<tr><th colspan="3" style="background:url(../images/header.jpg); background-repeat:no-repeat;" width="900" height="117">&nbsp;</th>
  	</tr>
    <tr>
    	<th colspan="3" style="background:url(../images/menubar.jpg); background-repeat:no-repeat;" height="40">
			<?php createMenu(); ?>
       	</th>
    </tr>
    <tr>
    	<td style="background-image:url(../images/subMenu.jpg);"></td>
        <td colspan="2" style="background-image:url(../images/div.jpg); background-repeat:no-repeat;" height="15"></td>
    <tr>
    	<td valign="top" width="140" style="background:url(../images/subMenu.jpg); color:#FFFFFF;">
        	<?php
				echo '&nbsp;&nbsp;&nbsp;Bienvenido(a)<br>&nbsp;&nbsp;&nbsp;'.$_SESSION["Nombre"].'<br />';
			?>
            <!-- TemplateBeginEditable name="SubMenu" -->
            	<?php
					//$tipo-> tipo de porcedencia(Hotel,Agencia,Operadora)
					//$seccion-> Seccion a que apunta 
					createSub($tipo,$seccion);
				?>
            <!-- TemplateEndEditable --> 
        </td>
        <td width="4" style="background-image:url(../images/div2.jpg); background-repeat:repeat-y; background-position:left;"></td>
    	<td width="756">
			<table align="center" border="0" cellpadding="0" cellspacing="0">
            	<tr>
                	<td style="background:url(../images/upperLeftCorner.jpg); background-repeat:no-repeat;" width="35" heigh="46">&nbsp;
                    </td>
                    <td style="background:url(../images/upperSide.jpg); background-repeat:repeat-x;" height="46">&nbsp;
                    </td>
                    <td style="background:url(../images/upperRightCorner.jpg); background-repeat:no-repeat;" width="35" height="46">&nbsp;
                    </td>
                </tr>
                <tr>
                	<td style="background:url(../images/LeftSide.jpg); background-repeat:repeat-y;" width="35">&nbsp;</td>
                    <td style="background:url(../images/background.jpg);">
                    <!-- TemplateBeginEditable name="FormBody" -->
                    &nbsp;
                    <!-- TemplateEndEditable -->
                    </td>
                    <td style="background:url(../images/rightSide.jpg); background-repeat:repeat-y;" width"35">&nbsp;</td>
                </tr>
                <tr>
                	<td style="background:url(../images/bottomLeftCorner.jpg); background-repeat:no-repeat;" width="35" height="46">&nbsp;
                    </td>
                    <td style="background:url(../images/bottomSide.jpg); background-repeat:repeat-x;" height="46">&nbsp;
                    </td>
                    <td style="background:url(../images/bottomRightCorner.jpg); background-repeat:no-repeat;" width="35" height="46">&nbsp;
                    </td>
                </tr>
            </table>
        </td>
  	</tr>
    <tr><th colspan="3" style="background:url(../images/footer.jpg); background-repeat:no-repeat" height="50">&nbsp;</th>
  </tr>
</table></td>
<td style="background:url(../images/rightborder.jpg); background-repeat:repeat-y; background-position:left;" width="20"></td></tr></table>
</body>
</html>
